package com.xiao.ztree.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiao.ztree.sys.entity.Article;
import com.xiao.ztree.sys.query.ArticleQuery;
import com.xiao.ztree.sys.vo.ArticleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author XiaoCoder
 * @since 2021-04-29
 */
public interface ArticleMapper extends BaseMapper<Article> {

    List<ArticleVo> selectAllArticle(@Param("query") ArticleQuery articleQuery);

}
